package cn.eoeit.alone.phoneImport.fragment;

import cn.eoeit.alone.phoneImport.R;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;

public class HomeFragment  extends Fragment implements OnClickListener{

	private View layout;
	private TextView txtCreateView;
	private TextView txtImportView;
	
	private TextView txtMsgView;
	private EditText EdtImportNumber ;
	
	private Button btnCreateImport;
	
	private Button btnDelete;
	private Button btnImport;
	private Button btnClearHistory;
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		layout = inflater.inflate(R.layout.fragment_home, container, false);
		initView();
		setOnListener();
		return layout;
	}


	private void initView() {
		txtCreateView=(TextView) layout.findViewById(R.id.tv_create_value);
		txtImportView=(TextView) layout.findViewById(R.id.tv_import_value);
		txtMsgView=(TextView) layout.findViewById(R.id.tv_msg);
		EdtImportNumber=(EditText) layout.findViewById(R.id.input_number);
		btnCreateImport=(Button) layout.findViewById(R.id.btn_import);
		btnDelete=(Button) layout.findViewById(R.id.btn_delete);
		btnImport=(Button) layout.findViewById(R.id.btn_toimport);
		btnClearHistory=(Button) layout.findViewById(R.id.btn_clear_history);
		
	}


	private void setOnListener() {
		
	}


	@Override
	public void onClick(View v) {
		
	}
   
}
